package com.zone.service.mapper;

import java.util.List;
import com.zone.service.domain.GunSecurity;

/**
 * 保安员证信息Mapper接口
 * 
 * @author zone
 * @date 2025-11-06
 */
public interface GunSecurityMapper 
{
    /**
     * 查询保安员证信息
     * 
     * @param id 保安员证信息主键
     * @return 保安员证信息
     */
    public GunSecurity selectGunSecurityById(Long id);

    /**
     * 查询保安员证信息列表
     * 
     * @param gunSecurity 保安员证信息
     * @return 保安员证信息集合
     */
    public List<GunSecurity> selectGunSecurityList(GunSecurity gunSecurity);

    public List<GunSecurity> selectQuitSecurityList(GunSecurity query);
    /**
     * 新增保安员证信息
     * 
     * @param gunSecurity 保安员证信息
     * @return 结果
     */
    public int insertGunSecurity(GunSecurity gunSecurity);

    /**
     * 修改保安员证信息
     * 
     * @param gunSecurity 保安员证信息
     * @return 结果
     */
    public int updateGunSecurity(GunSecurity gunSecurity);

    /**
     * 删除保安员证信息
     * 
     * @param id 保安员证信息主键
     * @return 结果
     */
    public int deleteGunSecurityById(Long id);

    /**
     * 批量删除保安员证信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGunSecurityByIds(Long[] ids);
}
